package com.gxuwz.commonmodule.entity;

/**
 * 图书实体类
 */
public class Book {
    private String bookID;
    private String title;
    private String author;
    private String category;
    private String price;
    private String status;
    private Integer counts;


    public Book() {
    }

    public Book(String bookID, String title, String author, String category, String price, String status, Integer counts) {
        this.bookID = bookID;
        this.title = title;
        this.author = author;
        this.category = category;
        this.price = price;
        this.status = status;
        this.counts = counts;
    }

    /**
     * 获取
     * @return bookID
     */
    public String getBookID() {
        return bookID;
    }

    /**
     * 设置
     * @param bookID
     */
    public void setBookID(String bookID) {
        this.bookID = bookID;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * 设置
     * @param author
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 获取
     * @return category
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 获取
     * @return price
     */
    public String getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(String price) {
        this.price = price;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return counts
     */
    public Integer getCounts() {
        return counts;
    }

    /**
     * 设置
     * @param counts
     */
    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    public String toString() {
        return "Book{bookID = " + bookID + ", title = " + title + ", author = " + author + ", category = " + category + ", price = " + price + ", status = " + status + ", counts = " + counts + "}";
    }
}
